﻿using MLSMooc.BO;
using MLSMooc.DAO.BaseInterface;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace MLSMooc.DAO.Interface.Login
{
    public interface IUsersDAO : IQueryDAOAsync<UsersBO>
    {
        Task<IEnumerable<UserSginInBO>> GetUserSignInNum();

        Task<UsersBO> GetByUNmAsync(string userNm);

        Task<UsersBO> GetUserAsync(string userNm, string pwd);

        Task<UsersBO> GetLabUserAsync(string AdminName, string EncryptPwd);

        Task<int> InsertLoginSignInInfo(int id);
    }
}
